package com.two.service.caipin;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@EnableFeignClients
//连表查询，
@MapperScan("com.two.service.caipin.dao")
//使用Swa文档
@EnableSwagger2
//配置了类，主函数
@ComponentScan(basePackages = {"com.two.common.config","com.two.service.caipin"})
public class CaipinApp {
    public static void main(String[] args)
    {
        SpringApplication.run(CaipinApp.class,args);
    }
}
